package com.sac.common.controller;

import com.sac.common.utils.ShiroUtils;
import com.sac.system.domain.UserDO;
import org.springframework.stereotype.Controller;

@Controller
public class BaseController {
	public UserDO getUser() {
		return ShiroUtils.getUser();
	}

	public String getEmpId() {
		return getUser().getEmpId();
	}

	public String getEmpNm() {
		return getUser().getEmpNm();
	}
}